package com.gitee.wsl.db.dsl

import com.gitee.wsl.db.dsl.operation.QueryOperation
import com.gitee.wsl.db.dsl.query.QBFParameter

interface SqlBuilder {

    fun StringBuilder.join(joins: List<Join>): StringBuilder

    fun StringBuilder.where(criterion: List<QBFParameter>): StringBuilder

    fun StringBuilder.orderBy(orders: List<QueryOperation>): StringBuilder

    fun StringBuilder.select(select: Select): StringBuilder
}